/**
 * Created by jingyanzhao on 2018/4/3.
 */
var wait=6;
function timeVali(o) {
    o.attr("disabled",true);
    // if (wait == 0) {
        // o.removeAttr("disabled");
      /*  o.value="免费获取验证码";*/
        // wait = 6;
    // } else {
        // o.attr("disabled",true);
       /* o.value=wait+"秒后可以重新发送";*/
        // wait--;
        setTimeout(function() {
                // timeVali(o)
                o.removeAttr("disabled");
            },
            wait * 1000)
    // }
}